<layout name='layout_page' />

<div class="row">
	<div class="col-lg-12">
		<div class="row">
			<div class="col-lg-12">
				<ol class="breadcrumb">
					<li><a href="<{:U('Index/index')}>">Home</a></li>
					<li>Mentees</li>
					<li class="active"><span>My need</span></li>
				</ol>
				<h1>My need</h1>
			</div>
		</div>

		<div class="row">
			<div class="col-lg-12">
				<div class="main-box clearfix" style="padding: 20px 0;">
					<form id="ajaxForm" action="<{:U('Need/add')}>" method="post" class="form-horizontal form-validata">
						<div class="form-group">
							<label class="col-md-2 control-label">Project</label>
							<div class="col-md-9">
								<volist name="train" id="vo">
								<label class="radio-inline">
								  <input type="radio" name="trainID" id="trainID" value="<{$vo.id}>" data-rule-required="true"> <{$vo.name}>
								</label>
								</volist>
							</div>				    	
					  	</div>

					  	<div class="form-group">
							<label class="col-md-2 control-label">Current skills</label>
							<div class="col-md-9">
								<textarea name="skills" id="skills" class="form-control" rows="5" data-rule-required="true"></textarea>
							</div>				    	
					  	</div>

					  	<div class="form-group">
							<label class="col-md-2 control-label">Target</label>
							<div class="col-md-9">
								<textarea name="target" id="target" class="form-control" rows="5" data-rule-required="true"></textarea>
							</div>				    	
					  	</div>

					  	<div class="form-group">
							<label class="col-md-2 control-label">Training experience</label>
							<div class="col-md-9">
								<textarea name="train" id="train" class="form-control" rows="5" data-rule-required="true"></textarea>
							</div>				    	
					  	</div>

					  	<div class="form-group">
							<label class="col-md-2 control-label">Work experience</label>
							<div class="col-md-9">
								<textarea name="work" id="work" class="form-control" rows="5" data-rule-required="true"></textarea>
							</div>				    	
					  	</div>

					  	<div class="form-group">
							<div class="col-md-9 col-sm-offset-2">
								<button type="submit" id="myBtn" class="btn btn-success"><{:L('_submit')}></button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function(){
	//validation验证
	ajaxForm();
});
</script>